﻿/************************************************
 * Copyright (C) 2011 东北农业大学(NEAU)
 * 版权所有。
 * 文件名：Community.cs
 * 版本号：v1.0
 * 文件功能描述：职工社区和留言板实体类
 * 作者：侯建
 * 创建日期：2011.04.03
************************************************/
using System;
using System.Collections.Generic;
using System.Web;

namespace Jxym.wlkc2011.Module.Default.model
{
    public class Community
    {
        public Community()
        { }
        #region Model
        private int _id;
        private string _title;
        private string _contenttext;
        private DateTime _addtime;
        private string _adduser;
        private int _communitytype;
        private int _classid;
        private int _prantid;

        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ContentText
        {
            set { _contenttext = value; }
            get { return _contenttext; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime AddTime
        {
            set { _addtime = value; }
            get { return _addtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AddUser
        {
            set { _adduser = value; }
            get { return _adduser; }
        }
        /// <summary>
        /// 如果为0时，是留言板信息
        /// </summary>
        public int CommunityType
        {
            set { _communitytype = value; }
            get { return _communitytype; }
        }
       

        public int ClassID
        {
            get { return _classid; }
            set { _classid = value; }
        }

        public int PrantID
        {
            get { return _prantid; }
            set { _prantid = value; }
        }

        #endregion Model
    }
}